/**
 * @file com.demon.esport.register.eureka.server
 * @CopyRight (C) www.10-game.com
 * @author jeffreychan
 * @email mebeyfeng@qq.com
 * @date 2018/10/18 22:17
 */

package com.demon.esport.register.eureka.server;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.WebApplicationType;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 *
 * @author : jeffreychan
 * @date: 2018/10/18 22:17
 * @description: eureka server 注册中心
 */
@Slf4j
@EnableEurekaServer
@SpringCloudApplication
public class EurekaServerBootStrap {

    public static void main(String[] args) {
        SpringApplication app = new SpringApplication(EurekaServerBootStrap.class);
        app.setWebApplicationType(WebApplicationType.SERVLET);
        app.run(args);
    }
}
